<template>
  <!--<div class="container-fluid">-->
  <div class="wrapper">
    <header-self v-if="isLogin"></header-self>
    <router-view></router-view>
    <footer>Copyright &copy 2015 qiniu</footer>
  </div>
</template>

<script>
  import Header from './components/Header.vue'
  import User from './components/User.vue'

export default {
  name: 'App',
  data: function () {
    return {
      isLogin: true
    }
  },
  components: {
    'header-self': Header
  }
}
</script>

<style>
  * {
    margin: 0;
    padding: 0;
  }
  .wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  footer {
    text-align: center;
    line-height: 3.75rem;
    background-color: #D1E0E9;
    flex: 0 0 3.75rem;
  }
</style>
